package org.apache.ibatis.demo.clazz;

/**
 * User
 *
 * @author zhaohui
 * @date 2019/11/18 14:01
 */
public class User extends Parent {

    private String name;

    private int age;

    private boolean gender;

    public User() {
        super();
    }

    public User(String name) {
        this.name = name;
    }

    public User(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public User(String name, int age, boolean gender) {
        this.name = name;
        this.age = age;
        this.gender = gender;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public boolean isGender() {
        return gender;
    }

    public void setGender(boolean gender) {
        this.gender = gender;
    }
}

